﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Component
{
    [Serializable]
    public class Curve
    {
        List<Point> points;
        Color color;
        int size;

        public Curve(List<Point> points)
        {
            this.points = points;
            this.color = Color.Black;
            this.size = 1;
        }

        public Curve(List<Point> points, Color color)
        {
            this.points = points;
            this.color = color;
            this.size = 1;

        }

        public Curve(List<Point> points, Color color, int size)
        {
            this.points = points;
            
            this.color = color;
            this.size = size;

        }

        public Color Color { get => color; set => color = value; }
        public int Size { get => size; set => size = value; }
        public List<Point> Points { get => points; set => points = value; }
    }
}
